<?php
$form = $this->beginWidget('bootstrap.widgets.TbActiveForm', array(
    'id' => 'saleForm',
    'type' => 'search',
    'htmlOptions' => array('class' => 'well'),
));

echo $form->textFieldRow($model, 'code', array(
	'class' 		=> 'input-medium',
	'prepend' 		=> '<i class="icon-search"></i>'
));

$this->widget('bootstrap.widgets.TbButton', array(
	'buttonType' => 'submit',
	'label' => 'Nhập',
	'htmlOptions' => array(
		'value'	=> 'submit',
	)
));

$this->widget('bootstrap.widgets.TbButton', array(
	'buttonType' => 'submit',
	'label' => 'Tính tiền',
	'htmlOptions' => array(
		'value'	=> 'next',
	)
));

$this->endWidget();
